package com.leyou.item;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * SpringCloudApplication 相当于
 * @SpringBootApplication
 * @EnableDiscoveryClient
 * @EnableCircuitBreaker
 * @version 1.0.0
 * @Author yong.Mr
 * @data 2019-8-9
 */
@SpringCloudApplication
@MapperScan({"com.leyou.item.mapper"})  // 可以配置多个包名,用, 分隔
public class LeyouItemApplication {

    public static void main(String[] args) {
        SpringApplication.run(LeyouItemApplication.class, args);
    }
}
